{include file="home/common/header"}
<link href="__STATIC__/state/css/article.css" rel="stylesheet" type="text/css" />

<!--banner-->
<!-- <script type="text/javascript" src="__STATIC__/state/js/banner.js"></script>
<div class="banner h650">
  <ul class="banner_wrapper">
    <li> <a href="#"><img src="__STATIC__/state/images/public/public_banner_01.jpg" alt=""></a> </li>
    <li style="display:none"> <a href="#"><img src="__STATIC__/state/images/public/public_banner_02.jpg" alt=""></a> </li>
    <li style="display:none"> <a href="javascript:"><img src="__STATIC__/state/images/public/public_banner_03.jpg" alt=""></a> </li>
  </ul>
  <a href="javascript:;" class="ctrl-slide banner_prev">上一张</a> <a href="javascript:;" class="ctrl-slide banner_next">下一张</a>
  <div class="banner_box">
    <div class="slideWrap">
      <ul class="dot-wrap">
        <li class="current"><em>1</em></li>
        <li><em>2</em></li>
        <li><em>3</em></li>
      </ul>
    </div>
  </div>
</div>
<script>
			$('.banner').ckSlide({
				autoPlay: true
			});
		</script> -->
<!--content-->
<div class="train_contentmain">
  <!--成果展示-->
  <div class="affairsdiv pt20">
    <div class="article_left Fleft">
      <!--sub-->
      <div class="article_left_sub">
        <div class="article_sub_title">
          <h3>{$parentCat['catname']}</h3>
        </div>
        <div class="article_sub_list" >
          {volist name="childCat" id="vo"}
          <li {if condition="$vo['id'] eq input('catId')"}class="act"{/if}> 
            <a href="{:url('home/'.$controller.'/index',array('catId'=>$vo['id']))}">
            <h4>{$vo.catname}</h4>
            </a>
          </li>
          {/volist}
        </div>
        <script>
     $(function(){
             var lis=$('.article_sub_list li');ai=lis[0];
           lis.click(function(){
                    ai.className='';
                    this.className='act';
                    ai=this;
           })
     });
</script>
      </div>
      <!--hot-->
      <div class="article_hot mt20">
        <div class="article_hot_tietle">
          <h3>热点推荐</h3>
        </div>
        <div class="article_hot_list">
          <ul>
            {volist name="hot_posid" id="vo" length="10"}
            <li>
              <a href="{:url('home/'.$controller.'/info',array('id'=>$vo['id'],'catId'=>$vo['catid']))}" target="_blank">{$vo.title}</a>
            </li>
            {/volist}
          </ul>
        </div>
      </div>
    </div>
    <div class="article_right Fright">
      <div class="article_right_title">
        <h3>{$thisCat['catname']}</h3>
        <div class="newpic_more Fright pt5">当前位置：<span class="gray">
          <a href="{:url('home/index/index')}" >首页</a></span>><span class="gray">
          <a href="{:url('home/'.$parentCat['catdir'].'/index',array('catId'=>$parentCat['id']))}" >{$parentCat['catname']}</a></span>><span class="deepred">
          <a href="#">{$thisCat['catname']}</a></span></div>
        <div class="affairs_bor"></div>
      </div>
      <div class="article_right_con mt10">
        <div class="article_right_all">
          <script src="__STATIC__/state/js/small_banner.js"></script>
          <div class="article_right_pic white Fleft">
            <ul>
              {volist name="list" id="vo" length="4"}
              {if condition="$controller eq 'dsfp'"}
              <li>
                <a href="{:url('home/'.$controller.'/info',array('id'=>$vo['id'],'catId'=>$vo['catid']))}" target="_blank">
                  <img src="__DSFP__{$vo.thumb}" width="430" height="279" alt="{$vo.title|mb_substr=0,22,'utf-8'}" />
                </a>
              </li>
              {elseif condition="$controller eq 'ppjs'"}
              <li>
                <a href="{:url('home/'.$controller.'/info',array('id'=>$vo['id'],'catId'=>$vo['catid']))}" target="_blank">
                  <img src="__QYPP__{$vo.thumb}" width="430" height="279" alt="{$vo.title|mb_substr=0,22,'utf-8'}" />
                </a>
              </li>
              {elseif condition="$controller eq 'rcpx'"}
              <li>
                <a href="{:url('home/'.$controller.'/info',array('id'=>$vo['id'],'catId'=>$vo['catid']))}" target="_blank">
                  <img src="__RCPX__{$vo.thumb}" width="430" height="279" alt="{$vo.title|mb_substr=0,22,'utf-8'}" />
                </a>
              </li>
              {else /}
              <li>
                <a href="{:url('home/'.$controller.'/info',array('id'=>$vo['id'],'catId'=>$vo['catid']))}" target="_blank">
                  <img src="__GGFW__{$vo.thumb}" width="430" height="279" alt="{$vo.title|mb_substr=0,22,'utf-8'}" />
                </a>
              </li>
              {/if}
              {/volist}
            </ul>
          </div>
          <script type="text/javascript">
$(".article_right_pic").yx_rotaion({auto:true});
</script>
          <div class="article_right_infor Fright">
          {volist name="list" id="vo" offset="0" length="1"} 
            <div class="article_infor_line">
              <h4></h4>
            </div>
            <div class="article_infor_title fB f15px">
              <a href="{:url('home/'.$controller.'/info',array('id'=>$vo['id'],'catId'=>$vo['catid']))}" target="_blank">{$vo.title}</a>
            </div>
            <div class="article_infor_font">
              <a href="{:url('home/'.$controller.'/info',array('id'=>$vo['id'],'catId'=>$vo['catid']))}" target="_blank">{$vo.description}</a>
            </div>
            <div class="article_infor_xx">
              <div class="article_infor_icon Fleft"><span class="article_infor_yj">浏览次数：<b class="deepred">{$vo.hits}</b></span><span class="article_infor_time">更新时间：<b class="deepred">{$vo.createtime|date="Y-m-d",###}</b></span></div>
              <div class="article_infor_btn Fright">
                <a href="{:url('home/'.$controller.'/info',array('id'=>$vo['id'],'catId'=>$vo['catid']))}" target="_blank">查看更多</a>
              </div>
            </div>
          {/volist}
          </div>
        </div>
        <div class="article_right_list">
          <ul>
            {volist name="list" id="vo" offset="1"} 
            <li>
              <span>{$vo.createtime|date="Y-m-d",###}</span>
              <a href="{:url('home/'.$controller.'/info',array('id'=>$vo['id'],'catId'=>$vo['catid']))}" target="_blank">{$vo.title}</a>
            </li>
            {/volist}
          </ul>
        </div>
        <style type="text/css">
          .pagination {display: inline-block; padding-left: 0; margin: 20px 0 0px; border-radius: 4px; }
          .pagination>li {display: inline;}
          .pagination>li>a, .pagination>li>span {position: relative; float: left; padding: 6px 12px; margin-left: -1px; line-height: 1.42857143; color: #b70000; text-decoration: none; background-color: #fff; border: 1px solid #ddd; cursor: pointer; margin: 0 2px;}
          .pagination>.active span{z-index: 3; color: #fff; cursor: default; background-color: #b70000; border-color: #b70000;} .pagination>.disabled span{color: #bfbfbf; cursor: not-allowed; background-color: #fff; border-color: #ddd;} 
          .pagination>li>a:hover{background: #b70000; color: #fff;}
        </style>
        <div class="page">{$page}</div>
        <!-- <div class="tcdPageCode"></div> -->
        <script src="__STATIC__/state/js/page.js"></script>
        <script>
          $(".tcdPageCode").createPage({
              pageCount:6,
              current:1,
              backFn:function(p){
                  console.log(p);
              }
          });
        </script>
      </div>
    </div>
  </div>
  <!--成果展示结束-->
</div>
<!--footer-->
{include file="home/common/footer"}